#ifndef __VIDEO_PLAY_ITEM_WIDGET_INCLUDE__
#define __VIDEO_PLAY_ITEM_WIDGET_INCLUDE__
#include "ui_VideoItemWidget.h"
#include "IPC_Manager.h"

class VideoItemToolWidget;

class VideoPlayItemWidget :public QWidget {

	Q_OBJECT
public:
	VideoPlayItemWidget(IPCManager* mgr , int videoIndex,  QWidget* parent = NULL);
	virtual ~VideoPlayItemWidget();
	void ToolBarEnable(bool enable);

signals:
	void captureSuccess(QString IMGFile);

protected:
	void mouseMoveEvent(QMouseEvent *event);
public:
	Ui::FormVideoItem ui;
	VideoItemToolWidget* toolBtn;
	IPCManager* ipc_mgr; 
	int video_index;
};

#endif